fancyterms=('xterm' 'rxvt' 'screen')

for t in $fancyterms; do
if [ "${TERM#${t}}" != "$TERM" ]; then
    unset fancyterms
    return 0
fi
done

unset fancyterms
return 1

#  vim: set ts=4 sw=4 tw=0 ft=zsh :
